<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="app">
        <!-- v-bind是可以根据情况动态的变化值 -->
        <button v-bind:disabled="isButtonDisabled">钥匙</button>
        <!-- disabled 属性规定应禁用的input属性 default: false -->
    </div>
    <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
    <script>
        let app = new Vue({
            el: '#app',
            data(){
                return{
                    isButtonDisabled: true
                }
            }
        })
    </script>
</body>
</html>